package com.whiteape.book.contract;

import com.whiteape.book.model.type.BookSortListType;
import com.whiteape.book.model.zssq.SortBookBean;
import com.whiteape.book.ui.base.BaseContract;

import java.util.List;

public interface BookCategoryListContract {
    interface View extends BaseContract.BaseView {
        void finishRefresh(List<SortBookBean> beans);
        void finishLoad(List<SortBookBean> beans);
        void showLoadError();
        void complete();
    }

    interface Presenter extends BaseContract.BasePresenter<View> {
        void refreshSortBook(String gender, BookSortListType type, String major, String minor, int start, int limit);
        void loadSortBook(String gender, BookSortListType type, String major, String minor, int start, int limit);
    }
}